home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / graphics / gels.inc < prev    next >
Text File  |  1998-06-24  |  2KB  |  113 lines

  1. include "inc/exec/types.inc";
  2.  
  3. def SUSERFLAGS = $00ff;
  4. def VSPRITE = $0001;
  5. def SAVEBACK = $0002;
  6. def OVERLAY = $0004;
  7. def MUSTDRAW = $0008;
  8.  
  9. def BACKSAVED = $0100;
  10. def BOBUPDATE = $0200;
  11. def GELGONE = $0400;
  12. def VSOVERFLOW = $0800;
  13.  
  14. def BUSERFLAGS = $00ff;
  15. def SAVEBOB = $0001;
  16. def BOBISCOMP = $0002;
  17.  
  18. def BWAITING = $0100;
  19. def BDRAWN = $0200;
  20. def BOBSAWAY = $0400;
  21. def BOBNIX = $0800;
  22. def SAVEPRESERVE = $1000;
  23. def OUTSTEP = $2000;
  24.  
  25. def ANFRACSIZE = 6;
  26. def ANIMHALF = $0020;
  27. def RINGTRIGGER = $0001;
  28.  
  29. def VUserStuff = WORD;
  30.  
  31. def BUserStuff = WORD;
  32.  
  33. def AUserStuff = WORD;
  34.  
  35. struct VSprite is
  36.   NextVSprite:ulong;
  37.   PrevVSprite:ulong;
  38.   DrawPath:ulong;
  39.   ClearPath:ulong;
  40.   OldY,OldX:word;
  41.   Flags:word;
  42.   Y,X:word;
  43.   Height:word;
  44.   Width:word;
  45.   Depth:word;
  46.   MeMask:word;
  47.   HitMask:word;
  48.   ImageData:ulong;
  49.   BorderLine:ulong;
  50.   CollMask:ulong;
  51.   SprColors:ulong;
  52.   VSBob:ulong;
  53.   PlanePick:byte;
  54.   PlaneOnOff:byte;
  55.   VUserExt:word;
  56. ;
  57.  
  58. struct Bob is
  59.   Flags:word;
  60.   SaveBuffer:ulong;
  61.   ImageShadow:ulong;
  62.   Before:ulong;
  63.   After:ulong;
  64.   BobVSprite:ulong;
  65.   BobComp:ulong;
  66.   DBuffer:ulong;
  67.   BUserExt:word;
  68. ;
  69.  
  70. struct AnimComp is
  71.   Flags:word;
  72.   Timer:word;
  73.   TimeSet:word;
  74.   NextComp:ulong;
  75.   PrevComp:ulong;
  76.   NextSeq:ulong;
  77.   PrevSeq:ulong;
  78.   AnimCRoutine:ulong;
  79.   YTrans:word;
  80.   XTrans:word;
  81.   HeadOb:ulong;
  82.   AnimBob:ulong;
  83. ;
  84.  
  85. struct AnimOb is
  86.   NextOb:ulong;
  87.   PrevOb:ulong;
  88.   Clock:long;
  89.   AnOldY,AnOldX:word;
  90.   AnY,AnX:word;
  91.   YVel,XVel:word;
  92.   YAccel,XAccel:word;
  93.   RingYTrans,RingXTrans:word;
  94.   AnimORoutine:ulong;
  95.   HeadComp:ulong;
  96.   AUserExt:word;
  97. ;
  98.  
  99. struct DBufPacket is
  100.   BufY,BufX:word;
  101.   BufPath:ulong;
  102.   BufBuffer:ulong;
  103. ;
  104.  
  105. def B2NORM = 0;
  106. def B2SWAP = 1;
  107. def B2BOBBER = 2;
  108.  
  109. struct collTable is
  110.   collPtrs[16]:ulong;
  111. ;
  112.  
  113.